package com.wayhome.srpingbootmybatis.ims.controller;

import com.wayhome.srpingbootmybatis.ims.service.DoubtsStatisticsBOImpl;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/web/doubtsStatistics")
@Api(tags = "疑点数据统计")
public class DoubtsStatisticsController {


    @Resource
    private DoubtsStatisticsBOImpl doubtsStatisticsBO;


    @PostMapping(value = "/execDailyDoubtsStatisticsJob")
    public String execDailyDoubtsStatisticsJob() {
        return doubtsStatisticsBO.pendingDoubtsStatistics();
    }

}
